.asset-model {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.asset-model-wrapper {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 0;

    .action-bar {
        display: flex;
    }

    .show-box {
        max-height: calc(100vh - 230px);
        overflow-y: auto;
        margin-top: 20px;
        padding: 0 10px;

        .model-list {
            padding: 10px 0 20px;

            .model-header {
                color: #333948;
                line-height: 21px;
                outline: 0;
                display: flex;
                align-items: center;
                font-size: 14px;

                .name {
                    font-weight: 700;
                    // margin-right: 5px;
                }

                .count {
                    font-weight: 700;
                    color: #c3cdd7;
                }

                &::before {
                    background: #c3cdd7;
                    content: "";
                    display: inline-block;
                    height: 14px;
                    margin: 0 10px 0 0;
                    vertical-align: middle;
                    width: 4px;
                }

                &-operation {
                    color: #3a84ff;
                    margin-left: 6px;
                    display: none;

                    .icon {
                        margin-right: 6px;
                    }
                }

                &:hover {
                    .show-operation {
                        display: flex;
                        cursor: pointer;
                    }
                }

                .el-button--text {
                    padding: 0 !important;
                }
            }

            .model-body {
                overflow: hidden;
                padding-left: 14px;

                .model-info {
                    background-color: #fff;
                    border: 1px solid #dde4eb;
                    border-radius: 4px;
                    cursor: pointer;
                    display: flex;
                    float: left;
                    height: 70px;
                    margin: 10px 10px 0 0;
                    position: relative;
                    width: calc(20% - 12px);

                    &.disabled {
                        opacity: .4;
                    }

                    .left-info {
                        flex: 1;
                        display: flex;

                        .icon-box {
                            width: 66px;
                            height: 70px;
                            display: flex;
                            align-items: center;

                            .drag-item {
                                width: 19px;
                                height: 100%;
                                display: flex;
                                align-items: center;
                                justify-content: center;
                                opacity: 0;
                                color: #bfc7d2;

                                .weops-drag-drop {
                                    font-size: 18px;
                                }
                            }

                            img {
                                width: 28px;
                                height: 28px;
                            }
                        }

                        .info-box {
                            flex: 1;
                            width: 0;
                            display: flex;
                            flex-direction: column;
                            justify-content: center;

                            .model-id {
                                font-size: 12px;
                                color: #bfc7d2;
                            }
                        }

                        &:hover {
                            .drag-item {
                                opacity: 1;
                            }
                        }
                    }

                    .right-info {
                        width: 70px;
                        display: flex;
                        flex-direction: column;
                        justify-content: center;
                        align-items: center;
                        color: #3a84ff;
                        background-color: #f0f5ff;

                        .bk-icon {
                            font-size: 16px !important;
                        }

                        span {
                            margin-top: 2px;
                            font-size: 16px;
                        }
                    }

                    .is-disabled {
                        cursor: not-allowed;
                    }
                }

                .already-add-active-left::after,
                .already-add-active-right::after {
                    position: absolute;
                    display: block;
                    content: "";
                    width: 2px;
                    height: 100%;
                    background-color: #0D90FC;
                }

                .already-add-active-left::after {
                    left: -6px;
                }

                .already-add-active-right::after {
                    right: -6px;
                }
            }
        }
    }
}
